package com.danci.service;

import com.danci.common.Result;
import com.danci.dto.LearnWordDto;
import com.danci.dto.UserRequest;
import com.danci.entity.Words;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 * 单词表 服务类
 * </p>
 *
 * @author xxx
 * @since 2024-05-13
 */
public interface IWordsService extends IService<Words> {


    void initWords();

    Result learn(LearnWordDto learnWordDto);

    Result recommend(UserRequest userRequest);

    Result importWords(MultipartFile file, String lid) throws IOException;
}
